package com.luke.star.bean;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

public class TaskProcessBean {
	
    @NotNull(message="任务id不能为空")
	String taskid;
    
    @Pattern(regexp = "-?[0-9]{1,9}", message = "数字不合法")  
    @NotNull(message="星星数量不能为空")
	String numStr;
    
	@Size(min = 1, max = 1000,message="进度描述字数不能超过1000个字")
	String note;
	
	public String getTaskid() {
		return taskid;
	}
	public void setTaskid(String taskid) {
		this.taskid = taskid;
	}
	public String getNumStr() {
		return numStr;
	}
	public void setNumStr(String numStr) {
		this.numStr = numStr;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
}
